@echo off
REM 启动后端
start "后端服务" cmd /k "cd /d %~dp0backend && call run.bat"

REM 启动前端
start "前端服务" cmd /k "cd /d %~dp0frontend && npm install && npm run dev"

echo 前后端服务已分别在新窗口启动！
pause